import { request } from "@/request/index";
// 登录
export function login(account) {
  return request({
    url: "/api/login",
    data: account,
    method: "post",
  });
}
// 注册
export function reguser(params) {
  return request({
    url: "/api/reguser",
    data: params,
    method: "post",
  });
}
